/**
 *
 */
package de.cbf.cam.dsa.services.impl.rcp_provider.extension.interfaces;

import java.util.Collection;
import java.util.List;
import java.util.UUID;

import de.cbf.cam.dsa.rcp.model.entities.RaceDSA;
import de.cbf.util.db.interfaces.exceptions.EntityLoadException;
import de.cbf.util.db.interfaces.exceptions.EntitySaveException;


/**
 * @author salter
 *
 */
public interface IRCPPersisterRace extends IRCPPersisterParametered{

	public RaceDSA loadRace(UUID uuid) throws EntityLoadException;

	public Collection<RaceDSA> loadAllRaces() throws EntityLoadException;

	public void saveRace(RaceDSA entity) throws EntitySaveException;

	/**
	 * tidy up step after successful importing
	 */
	public void tidyUpRaces(List<UUID> uuids);

}
